<?php get_header();?>   

    <div class="am-g am-g-fixed blog-g-fixed">
        <div class="am-u-md-8">
            <?php if(have_posts()): ?>

                <?php while(have_posts()): the_post()?>
                    <?php //var_dump($post);?>
                    <article class="blog-main">
                        <h3 class="am-article-title blog-title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h3>

                        <h4 class="am-article-meta blog-meta">by <a href="<?php the_author_meta();?>"><?php the_author();?></a> posted on <?php the_time();?> </h4>

                        <div class="am-g blog-content">
                            <div class="am-u-lg-12 zeng-article"><?php the_excerpt();?></div>
                        </div>
                    </article>
                    <hr class="am-article-divider blog-hr">

                <?php endwhile;?>
            <?php else: ?>
                <p>暂时没内容，敬请期待。</p>
            <?php endif; ?>
        </div>
        <?php get_sidebar(); ?>   
    </div>

    <?php posts_nav_link(); ?>
    <?php paginate_comments_links(); ?>

<?php get_footer();?>